require('../css/adv.less');

document.ready(function () {
    // 倒计时
    let timeTxt = document.querySelector('.time_txt');
    timeTxt.textContent = 5;
    let time = setInterval(function () {
        timeTxt.textContent--;
        if (timeTxt.textContent == 0) {
            clearInterval(time);
            // 跳过
            location.href = "http://localhost:666/register.html";
        }
    }, 1000)
})